<ui:composition template="/WEB-INF/templates/padraoAjaxStatus.xhtml" 
	  xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:p="http://primefaces.org/ui"
	  xmlns:b="http://bootsfaces.net/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:define name="menu">
    	<div>
			<ui:include src="#{msg.barra_navegacao}" />
		</div>
    </ui:define>
    <ui:define name="conteudo">
    	<h:form id="formMensagem">
	    	<p:growl id="growl" showDetail="true" />
	    </h:form>
	    
	    <h:form id="formCadastroAluno">
		    <p:fieldset legend="#{msg.label_aluno_upper}" styleClass="ui-fieldset bold">
		    	<p:panel header="#{msg.label_dados_pessoais}">
		   			<ui:include src="#{msg.aba_dados_pessoais}" />
		    	</p:panel>
		    	<br/>
				<p:panel header="#{msg.label_camera}">
		   			<ui:include src="#{msg.aba_camera}" />
				</p:panel>
				<br/>
				<p:panel header="#{msg.label_responsavel}">
					<ui:include src="#{msg.aba_responsavel}" />   				
				</p:panel>
				<br/>
				<p:panel header="#{msg.label_autorizado}">
					<ui:include src="#{msg.aba_autorizado}" />   				
				</p:panel>
				<br/>
				<b:row>
					<b:column col-lg="12">
						<p:commandButton value="#{msg.label_salvar}"
							actionListener="#{autorizadoMBean.adicionarAutorizado}" styleClass="pull-right"
							update=":formMensagem:growl" />
					</b:column>
				</b:row>
			</p:fieldset>
		</h:form>
    </ui:define>
</ui:composition>